App({
    UserInfo: {},
    token: "6b0f0c96711fdd4666303468750196bd",
    server: "https://www.ylhzzy.top:8831",
    rserver:"https://www.ylhzzy.top:8831",
    //rserver: "https://fitment.chenyoujiu.com",
    serverUrl: "https://fpic.chenyoujiu.com",
    home: wx.getStorageSync("home") || "home",
    home_intro: !1,
    pro_title: !0,
    home_btn: !1,
    tokenSwitch: 0,
    fontSize: 32,
    showQRShare: !0,
    showCart: !0,
    showInfo: !0,
    showZhuanPei: !0,
    showPrice: !0,
    canNavHome: !0,
    showProduct: !0,
    close_cut: 1,
    modules: {
        video: !0
    },
    onLaunch: function() {},
    fromOptions: function(e) 
    {
        console.log(JSON.stringify(e));
        if (e.scene || e.q) 
        {
            for (var o = decodeURIComponent(e.scene || e.q).split("&"), t = 0; t < o.length; t++) 
            {
                var n = o[t], s = n.indexOf("=");
                -1 !== s && (e[n.substring(0, s)] = n.substring(s + 1));
            }
        }
    },
    request: function(e) {
        console.log("request1");
        var o = e.success;
        e.success = function(e) 
        {
            console.log("request1  success");
            if (1e3 === e.data.code) 
                return wx.removeStorageSync("usr"), 
                void wx.navigateTo({
                    url: "/pages/usr/login/login"
            });
            0 !== e.data.code && wx.showToast({
                icon: "none",
                title: e.data.msg.zh
            }), 
            console.log(o);
            o && o(e);
        }, 
        
        console.log("wx.request(e)");
        wx.request(e);
    }
});